package com.youbo.form;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
@ApiModel(value = "办理电子健康卡所需参数")
public class CreateCardForm {

    @ApiModelProperty(value = "hospitalId")
    private String hospitalId;


    @ApiModelProperty(value = "就诊卡号")
    @NotBlank(message = "就诊卡号不能为空")
    private String medicalCardNumber;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别 男，女")
    private String sex;

    @ApiModelProperty(value = "性别 1 男，2 女")
    private String gender;

    @ApiModelProperty(value = "出生日期")
    private String birthday;

    @ApiModelProperty(value = "住址")
    private String address;

    /**
     * 身份证号，新生儿办卡时会传入母亲身份证+胎次
     */
    @ApiModelProperty(value = "身份证号，新生儿办卡时会传入母亲身份证+胎次")
    private String idcard;

    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String phone;

    /**
     * 门诊卡号
     */
//    private String mzhm;
//    private Long brid;


}



